//
//  HTSysParam.h
//  HTERPManApp
//
//  Created by standychen on 14-11-10.
//  Copyright (c) 2014年 HT. All rights reserved.
//

#import <Foundation/Foundation.h>
//系统参数类
@interface HTSysParam : NSObject


//设置登录信息 根据登录信息
+(void)loadParamWithLoginAction:(NSDictionary *)dict;

+(void)loadParamWithDefault:(NSDictionary *)dict;

+(void)loadChangeCity:(NSDictionary *)dict;

+(void)loadChangeClub:(NSString *)clubID initWithClubName:(NSString *)clubName;

+(void)loadParamWithTelNum:(NSString *)value;

+(void)loadParamWithQuitFlag:(NSString *)value;

+(void)loadParamWithClubID:(NSString *)value;

+(void)loadParamWithRefreshFlag:(int)value;
+(void)loadParamWithUpFlag:(NSString*)value;

+(void)loadWithRegistrationID:(NSString*)value;

//设置登录参数 从本地数据库读取
+(void)loadParamFormLocalDB;



//储存参数值到本地数据库内
+(void)saveParamToLocalDB;




//自动登录标志
+(BOOL)autoLoginFlag;

//设置自动登录标志
+(void)autoLoginFlagSet:(BOOL)b;

//登录用户账号
+(NSString *)ptLoginUserid;

//登录用户名
+(NSString *)ptLoginUserName;

//登录用户数据ID
+(long)ptloginUserDid;

//是否管理员标志
+(BOOL)ptManageFlag;

//客户数据ID
+(long)ptVendorDid;


//客户编码
+(NSString *)ptVendorID;

//客户简称
+(NSString *)ptVendorAttn;

//ERP服务地址
+(NSString *)erpServer;

//ERP内网服务地址
+(NSString *)erpInServer;

//ERP服务虚拟目录
+(NSString *)erpVirDir;

//ERP服务虚拟目录
+(NSString *)localpath;
//ERP服务虚拟目录
+(NSString *)netpath;

//ERP操作用户代码
+(NSString *)erpOPID;

//最近一次登录时间
+(NSDate *)lastLoginTime;

//城市编码
+(NSString *)cityCode;

//城市
+(NSString *)city;

//用户编号
+(NSString *)userID;

//手机号
+(NSString *)telNum;

//退出标识
+(NSString *)quitFlag;

//会所ID
+(NSString *)localClubID;

//会所名称
+(NSString *)localClubName;

//会所id
+(NSString *)clubID;

//刷新标识
+(int)refreshFlag;

+(NSString *)upFlag;

+(NSString *)registrationID;



@end
